class Header < ActiveRecord::Base

  # === List of columns ===
  #   id              : integer 
  #   title           : string 
  #   keywords        : string 
  #   description     : text 
  #   headerable_type : string 
  #   headerable_id   : integer 
  #   created_at      : datetime 
  #   updated_at      : datetime 
  # =======================
  
  validates_presence_of :headerable_type, :headerable_id
  
  belongs_to :headerable, :polymorphic => true
end
